home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
F1 Licenseware
/
F1 Licenseware - Volume 1.iso
/
disks
/
050a.dms
/
050a.adf
/
EXAMPLE_PROGRAMS
/
example01.AMOS
/
example01.amosSourceCode
Wrap
AMOS Source Code
|
1992-02-26
|
2KB
|
63 lines
'====================
'EXAMPLE PROGRAM ONE
'====================
'
' Note: these listings apply mainly to the original Amos package
' and not Amos Pro or Easy Amos,although most will work on any Amos.
'
'---------------------------------------------------------------------------
'This little program prints a message on a black screen and then waits
'for any key to be pressed before returning the user back here, to the editor.
'To RUN this program press F1 or click on RUN from the above menu.
'To see the whole of this program listing press the down cursor key
'or click on the down arrow at the bottom right edge of this screen.
'----------------------------------------------------------------------------
'
'
'
Rem PAPER is the text background colour, try diffrent values between 0-15
'------------------------------------------------------------------------
Paper 0
Rem Turn off the flashing text cursor.Put a ' or delete it to see the effect.
'----------------------------------------------------------------------------
Curs Off
Rem Hides the mouse pointer.
'---------------------------
Hide
Rem turn the whole screen to black, try different numbers for different colours.
'-------------------------------------------------------------------------------
Cls 0
Rem Print the message, try changing the text between the quotes.
'---------------------------------------------------------------
Print "Testing....Press a key when ready"
Rem Wait here until the user presses a key,delete the line to see what happens.
'------------------------------------------------------------------------------
Wait Key
'=============================================================================
Rem I could of easily made this program show you all the different CLS colours
Rem and paper colours etc. automatically, but I want you to get in there and
Rem dirty your hands. Mess around with this program until you feel you know
Rem EVERY command and what it does. It's the best way to learn, believe me!
'==============================================================================
Rem return back to the Amos editor, not neccesary but nice and tidy.
'-------------------------------------------------------------------
Edit